home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / winsock / maillist / 94-02.Z / 94-02 / text0092.txt < prev    next >
Encoding:
Text File  |  1994-02-28  |  4.6 KB  |  119 lines

  1. Can anyone give me any pointers on the proper use of shutdown(skt,2)?
  2.  
  3. WS_FTP had a problem with PC/TCP Winsock v1.10 in the use of this
  4. call.  I'm not sure why I was using shutdown, other than all the books
  5. that I use, were doing the same thing.   In any case, I have removed the
  6. call in WS_FTP version 94.02.08 and it now seems to work correctly.
  7.  
  8. When do you use shutdown?
  9. What should it accomplish?
  10. Does closesocket do the same thing?
  11.  
  12. I was using shutdown as I understood that it would ensure that any
  13. pending data would be handled correctly before the socket closed.
  14. Was I wrong?
  15.  
  16. Thanks,
  17. John
  18. From davidtr@microsoft.com Tue Feb  8 11:25:00 1994
  19. Received: from netmail2.microsoft.com by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  20.           id AA16456; Tue, 8 Feb 1994 22:27:06 -0500
  21. Received:  by netmail2.microsoft.com (5.65/25-eef)
  22.     id AA06361; Tue, 8 Feb 94 19:27:57 -0800
  23. Received: by netmail2 using fxenixd 1.0 Tue, 08 Feb 94 19:27:57 PST
  24. Message-Id: <9402090325.AA27347@itgmsm>
  25. From: davidtr@microsoft.com
  26. To: winsock@sunsite.unc.edu
  27. Subject: RE: Passing open, connected sockets between programs in NT?
  28. Date: Tue, 08 Feb 94 19:25:00 PST
  29. X-Mailer: Microsoft Mail V3.0
  30.  
  31.  
  32.  
  33.  
  34. |From: netmail!John.MacFarlane@Software.com (John L. MacFarlane)
  35. |
  36. |Does anyone have any clues on how this is accomplished? I know that one can
  37. |use an open, connected socket as a file handle for ReadFileEx but how does
  38. |one pass the socket to another program?
  39. |
  40. |I have a "SERVER" program which creates the socket, binds, listens, and
  41. |accepts the connection. The idea is then to pass the socket to another 
  42. program
  43. |for reading and writing but I cannot seem to get this to work.
  44. |
  45. |I tried passing the SOCKET (it is an int) between two processes but when 
  46. the
  47. |second process tries to recv/send on the socket, it fails with an 
  48. WSAENOTSOCK
  49. |error.
  50.  
  51. it sounds like you may be creating the child process without specifying the 
  52. fInheritHandles parameter on CreateProcess() as TRUE.
  53.  
  54. davidtr@microsoft.com
  55. From news@bigblue.oit.unc.edu Wed Feb  9 04:32:18 1994
  56. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  57.           id AA18549; Tue, 8 Feb 1994 23:36:59 -0500
  58. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  59.           id AA13372; Tue, 8 Feb 1994 23:32:45 -0500
  60. Received: from GATEWAY by bigblue with netnews
  61.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  62. To: winsock@sunsite.unc.edu
  63. Date: 9 Feb 1994 04:32:18 GMT
  64. From: jeff@econ.berkeley.edu
  65. Message-Id: <2j9p0i$esb@agate.berkeley.edu>
  66. Organization: sometimes works
  67. Sender: ses
  68. Subject: WinQVT/Net
  69.  
  70. I have been using WinQVT/Net v3.9.  It is a nice package which
  71. needs some improvements and enhancements.  Before I pay the
  72. registration fee, I would like to make sure that this software
  73. will continue to develop.  How commited are QPC Software to 
  74. the development of WinQVT?  Is there a mailing list for users?
  75.  
  76. On a related note, when I use the built in news reader, and when
  77. I use the thread reader, how do I neatly return to the main selection
  78. mode?  I wind up having to delete all of the articles found by the
  79. thread search and then I am returned to the top of the main list
  80. of articles regardless of where I started the thread search.
  81.  
  82. Jeff
  83. From news@bigblue.oit.unc.edu Tue Feb  8 15:27:17 1994
  84. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  85.           id AA19463; Wed, 9 Feb 1994 00:06:57 -0500
  86. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  87.           id AA15830; Tue, 8 Feb 1994 23:53:35 -0500
  88. Received: from GATEWAY by bigblue with netnews
  89.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  90. To: winsock@sunsite.unc.edu
  91. Date: 8 Feb 1994 21:27:17 -0600
  92. From: dalease@idss.nwa.com (David Lease)
  93. Message-Id: <2j9l6l$li1@guppy.idss.nwa.com>
  94. Organization: Northwest Airlines, Inc.
  95. Sender: ses
  96. References: <1994Feb8.080713.23607@aristo.tau.ac.il>
  97. Subject: Re: WINVN can't resolve hostname
  98.  
  99. In article <1994Feb8.080713.23607@aristo.tau.ac.il>,
  100. Debby Koren <deb@radmail.rad.co.il> wrote:
  101. >
  102. >I tried running WINVN with both NetManage and Trumpet Winsock.  In both cases,
  103. >it immediately gives a message that it can't resolve hostname.  The hostname
  104. >of the news server is in the hosts table.  A different newsreader has no
  105. >trouble connecting and reading news (and posting, as you can see).  So what
  106. >could be the problem?  I appreciate any ideas.
  107.  
  108. We've had some of the same problems here...
  109.  
  110. Our solution was basic.  Make sure that DNS resolves in both directions
  111. (host and client).  After working that out, we don't seem to have any
  112. problems.
  113.  
  114. By the way, which version are you running?  Vast differences between 0.62 and
  115. 0.80.
  116.  
  117.  
  118.  
  119.